import api from '@/utils/index'
// 获取详情页的数据
export const getDetails = (id) => api.get('/shop/goods/detail?id=' + id)